package game.entity.process;

import game.entity.Entity_A;
import game.gamestate.GameState;

import java.util.List;

public class ThinkProcess<T extends Entity_A> implements EntityProcessor_I<T> {
	@Override
	public int process(List<T> entities, GameState gameState, int time) {
		for(T ent : entities) {
			ent.think(gameState, time);
		}
		return entities.size();
	}

}